package com.feiyue.erp.service;


import com.feiyue.erp.dao.CustomerDao;
import com.feiyue.erp.dao.bean.CustomerDO;
import com.feiyue.erp.service.bean.Customer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

@Service
public class LoginService {

    @Autowired
    private CustomerDao customerDao;
    public Customer login(Customer customer) {
        return customer;
    }
    public Customer findLoginUser() {
        CustomerDO customerDO = customerDao.selectByPrimaryKey(1);
        return null;
    }

}
